﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Ditto.Models.Reputation>" %>

<div style="width:50%;float:left">
    <p>
    <strong>Rating: </strong> 
     <span id="stars-rep">
        <input type="text" id="Rating" style="display:none" value="<%: Model.Rating %>" />
    </span>
    </p>

    <p>
    <strong>Rank: </strong> 
    <%: Model.LevelStatus %>
    </p>
</div>

<div style="width:50%;float:left">
<p>
<strong>Volume Transacted: </strong> 
<%: Model.VolumeTransacted %>
</p>


<p>
<strong>Value Transacted: </strong> 
<%: Model.ValueTransacted %>

</p>
</div>

<div style="clear:both"></div>



<script type="text/javascript" src="/Scripts/raty/jquery.raty.js"></script>
<script type="text/javascript">
    $('#stars-rep').raty({
        readOnly: true,
        half: false,
        target: '#Rating',
        targetType: 'number'
    });
</script>